#define _CRT_SECURE_NO_WARNINGS
#include"List.h"


void test1()
{
	ListNode* plist = NULL;
	SLInit(&plist);
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPushBack(plist, 5);
	LTPrint(plist);
	ListNode* ret = LTFind(plist,3);
	LTInsert(ret, 6);
	LTPrint(plist);
	LTErase(plist, ret);
	LTPrint(plist);

}


int main()
{
	test1();

	return 0;
}